package com.project.mapper;

import com.project.Bean.ClassRoom;
import com.project.Bean.User;

import java.util.List;

/**
 * 班级管理持久层接口
 */
public interface IClassRoomMapper {
    /***
     * 查询所有班级
     * @return 班级对象集合
     */
    public List<ClassRoom> findAll();

    /***
     * 添加班级
     * @param classRoom  添加班级对象
     */
    public void addClassRoom(ClassRoom classRoom);
    /**
     * 按编号删除班级
     */
    public void delClassRoom(int id );

}
